fcrackzip turtles128.zip -D -p /usr/share/wordlists/rockyou.txt -u
PASSWORD FOUND!!!!: pw == 0
import zipfile import os GLOB_BEGIN="turtles" GLOB_END=".zip" GLOB_NUM = 128 def get_name(i): return GLOB_BEGIN+str(i)+GLOB_END def try_mdp(filename): pswd = '0' pswd2 = '1' try: with zipfile.ZipFile(filename) as file: file.extractall(pwd = bytes(pswd, 'utf-8')) return pswd except : with zipfile.ZipFile(filename) as file: file.extractall(pwd = bytes(pswd2, 'utf-8')) return pswd2 if __name__ == "__main__": MDP="" while 1: print("mdp: " + MDP) MDP+=try_mdp(get_name(GLOB_NUM)) GLOB_NUM-=1